c program of taking input and show it on console